import { createApp } from 'vue'
import App from './App.vue'
import router from "@router/index"
import axios from "@utils/request"

import {filterImg} from "@utils/filterImg"

import { Button, Tabbar, TabbarItem,Search,Swipe, SwipeItem } from 'vant';

const app = createApp(App)

app.config.globalProperties.$httpRequest = axios

app.config.globalProperties.$filterImg = filterImg

app
    .use(router)
    .use(Button)
    .use(Tabbar)
    .use(TabbarItem)
    .use(Search)
    .use(Swipe)
    .use(SwipeItem)

app.mount('#app')
